package com.movie.dto;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class UserWatchHistoryDTO {
    private Long id;
    private Long userId;
    private String username;
    private Long movieId;
    private String movieTitle;
    private String movieCover;
    private Integer watchTime; // 观看时长（秒）
    private Integer lastPosition; // 最后观看位置（秒）
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private Integer year;
}